#ifndef ATLAS_HH
#define ATLAS_HH

class SpaceObjectAtlas {
public:
	struct SOA_Data {
		unsigned int id;
		unsigned int geomId;
		float sphereRadius;
		float sphereRadiusSqr;
	};
private:
	unsigned int m_count;
	SOA_Data *m_host;
	SOA_Data *m_device;
public:
	SpaceObjectAtlas();
	~SpaceObjectAtlas();

	void calcSqrs();
	void setAtlas(SOA_Data *data, unsigned int count);
	SOA_Data *getHost();
	SOA_Data *getDevice();
	unsigned int getCount();
};

#endif // ATLAS_HH
